package com.example.demo.service;

import com.example.demo.mapper.AdminMapper;
import com.example.demo.vo.Result;
import com.example.demo.vo.UserDetail;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface AdminService {

    List<UserDetail> selectByUserAll(Integer ID);

    int deleteUserById(Integer id);

    Result add(UserDetail userDetail);

    Result update(UserDetail userDetail);
}
